package com.alex.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "tb_dictionary")
public class TbDictionary implements Serializable {
    /**
     * 雪花id
     */
    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 所属分类编码
     */
    @Column(name = "type_code")
    private Integer typeCode;

    /**
     * 代码值
     */
    @Column(name = "code")
    private Integer code;

    /**
     * 名称
     */
    @Column(name = "dic_name")
    private String dicName;

    /**
     * 说明
     */
    @Column(name = "description")
    private String description;

    /**
     * 是否启用标记，默认t
     */
    @Column(name = "enable_flag")
    private Boolean enableFlag;

    private static final long serialVersionUID = 1L;
}